<!DOCTYPE html>
<html>
<head>
	<meta charset="utf8">   
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="css/html.css" media="screen and  (min-width: 1024px)">
    <link rel="stylesheet" type="text/css" href="css/shuffling.css">
    <link rel="stylesheet" type="text/css" href="css/phone.css" media="screen and  (max-width: 1023px)">
    <script src="js/main.js"></script>
    
    <style type="text/css">
    .p_container
    {
        font-size: 2vh;
        font-size: 2vm;
        font-weight: 300;
        text-align: center;
        word-wrap:break-word;
        color: #999;
        margin: 0px auto;
    }
        .div_activeImg
        {
            position: absolute;
            /* top:0; */
            border:1 px soild blue;
            width:30%;
            top:20px;left:10px;
            padding-right:5px;
            /* float:left; */
            /* margin-top: 4%;
            margin-left: 4%; */
            /* height: 200px; */
        }
        .div_active
        {
            width: 45%;
            min-height:140px;
            /* margin: 10px; */
            height:0;
            /* border: 1px solid red;   */
        }
        .div_active:hover
        {
            cursor: pointer;
            background-color: white;
        }  
        #a_style
        {
            position:fixed;
            right:10px;
            bottom:10px;
            height:30px;
            width:30px;
            background-color:#8834a1;
            font-size:25px;
            display:none;
            color:white;
            text-align:center;
            text-decoration:none;
            transition: all 2s ease-in-out;
        }
    body{
        margin: 0px;
        /* position: relative; */
    }
    html{
         font-size:62.5%;
    } 
    h2
    {
        text-align: center;
        font-weight: 400;
        color:#8834a1;
        font-size: 5.2vh;
        font-size: 5.2vm;
        margin: 0px;
    }
    
</style>
</head>
<body>
    <div id="div_menue">
    <div class="div_style">
                <div id="div_topImg">
                    <img src="img/menue.png" class="img_log">
                </div>
                <i onclick="showMenue()" class="fa fa-bars iconStyle"styaria-hidden="true"></i>
                <i onclick="back()" class="fa fa-times iconStyle"></i>
                <div class="div_nav">
                <ul>
                    <li style="padding-right:10px;" ><a class="a_menueStyle" href="#home">首页</a></li>
                    <li  style="padding-right:10px;"><a class="a_menueStyle" href="#home">整形项目</a>
                        <ul>
                            <li><a  href="#home">整形美容</a></li>
                            <li><a  href="#home">美肤嫩肤</a></li>
                            <li><a  href="#home">无创美容</a></li>
                        </ul>
                    </li>
                    <li  style="padding-right:10px;"><a class="a_menueStyle" href="#home">优惠活动</a></li>
                    <li style="padding-right:10px;" ><a class="a_menueStyle" href="#home">专家团队</a></li>
                    <li style="padding-right:10px;" ><a class="a_menueStyle" href="#home">整形动态</a></li>
                    <li style="padding-right:10px;" ><a class="a_menueStyle" href="#home">关于我们</a></li>
                    <li style="padding-right:10px;"><a class="a_menueStyle" href="#home">联系我们</a></li>
                </ul>
                </div>
            </div>
    </div>
    <div id="div_top" class="div_all">
          <!-- 轮播容器 -->  
          <div class="slide-container">  
                <!-- 轮播组件  最后一个不用加right-out类-->  
                <div class="slide right-out">  
                    <img src="img/homepic1.jpg"class="slide-img"> 
                </div>  
                <div class="slide">  
                    <img src="img/homepic2.jpg" class="slide-img">  
                </div>
                <div id="div_shufflingShow">
                <div class="div_shufflingShadow" style="left:0;"></div>
                    <i class="fa fa-angle-left" id="i_left"onclick="slide_last();"></i> 
                  
                <div  class="div_shufflingShadow" style="right:0"></div>
                <i class="fa fa-angle-right" id="i_right" onclick="slide_next()"></i>
                 
               </div> 
                <!-- 导航点 -->  
                <div id="slide-tabs"></div>  
                
                  
            </div>
            <!-- 轮播结束 -->  
    </div>
    <div id="div_advantage" class="div_all">
        <div class="div_style">
                <div>
                        <h2 >
                            我们的优势
                        </h2>
                        <p class="p_container">our advantages</p>
               </div>
                    <div class="div_advantageConnect">
                           <div id="div_img">
                              <img id="img_style" src="img/advantage.jpg">
                           </div>
                           <div style="word-wrap:break-word">
                               <h3 class="h3_style">整形美容</h3>
                               <p class="p_style">运用手术、药物、医疗器械以及其他医学技术..</p>
                               <div id="div_foot"></div>
                           </div>
                       </div>
        </div>
    </div>
    <div id="div_object" class="div_all">
            <div class="div_style">
            <div>
                    <h2>
                        王牌项目
                    </h2>
                    <p class="p_container">Project center</p>
           </div>
           
           <div class="div_objectStyle">
                <div class="div_objectImg">
                    <img class="img_objectStyle" src="img/object1.jpg">
                    <div class="div_objectShielded"></div>
                </div>
                <div >
                <h4 style="color: #222222;font-size: 16px;
                text-align: center;margin:10px;">
                    整形隆鼻
                </h4>
                </div>
            </div>
                   
        </div>
    </div>
    <div id="div_recommended" class="div_all">
        <div class="div_style">
            <h2>名医推荐</h2>
            <p class="p_container">Experts recommend</p>
            <div class="recommended">
                    <div style="width:100%;z-index:-1;display:inline-block">
                        <img  style="width:100%" src="img/recommended1.jpg">
                    </div>
                    <div class="div_recommendedFont">
                     <h3 class="h3_recommendedFont">整形专家Elaine</h3>
                     <p class="p_recommendedFont">Elaine,八大处主任，法国悦美好医医疗美容门诊部院长，法国整形外科业协会理事&医师协会整形美容专业专家组成员。30多年的临床实践经验，在整形美容外科具有深厚造诣。擅长：五官精雕、年轻化定制、身体雕塑、皮肤管理等。</p>
                    </div>
                </div>

        </div>
    </div>
    <div id="div_active" class="div_all">
        <div class="div_style">
                <h2>热门活动</h2>
                <p class="p_container">Popular activities</p>
                <div class="div_active">
                    <div style="padding-top:10px;padding-bottom:10px;position:relative">
                        <div class="div_activeImg">
                            <img style="width:100%;" src="img/active1.jpg">
                        </div>
                        <div style="border:1 px soild red;width:65%;float:right;position:absolute;top:10px;right:10px;">
                            <p>
                            <h3 style="font-size:2vm;padding-top:3px;font-size:2vh;color:black;margin-bottom:0">女人眼部长脂肪粒怎么去掉</h3>
                            <p>女人眼部很容易长一些白色的小颗粒，很多人都误以为是粉刺，其实那是脂肪粒。那脂肪粒是如何形成的呢？引起...
                            </p>
                            <p><span>2017-10-18</span>
                            <span>admin</span>
                            <span>7</span>
                            </p>
                        </p>
                        </div>
                    </div>
                    </div>
        </div>
    </div>
    <div id="div_connect" class="div_all">
        <div class="div_style">
            <div id="div_connectAddress">
                <span id="span_connect">整形美容医院</span>
                <span class="span_connect">美丽热线：400-000-0000</span>
                <span class="span_connect">地址：中国地区XX分区人民中路88-66号</span>
                <span class="span_connect">邮箱：test@metinfo.cn</span>
            </div> 
            <div id="div_activeForm">
                <form>
                    <input placeholder="姓名">
                    <input placeholder="联系电话">
                    <select id="select_connect" >
                        <option>咨询项目</option>
                        <option>减肥丰胸</option>
                        <option>眼部整形</option>
                        <option>面部轮廓</option>
                        <option>皮肤美容</option>
                    </select>
                    <textarea placeholder="留言"></textarea>
                    <input placeholder="验证码">
                    <button>预约</button>
                </form>
            </div>
        </div>
    </div>
    <div id="div_footer">
        <p style="text-align:center">我的网站 整形美容医院版权所有 2008-2014 免责声明 湘ICP备8888888  Powered by MetInfo 5.3.19</p>
    </div>
    <a class="fa fa-angle-up"href="#div_top" id="a_style"style=""></a>
    <script>
     
     window.onscroll = function(){
        var scrollTop=document.body.scrollTop||document.documentElement.scrollTop; 
        var menue=document.getElementById("div_menue");
        var bottom=document.getElementById("a_style");
        var menueStyle=document.getElementsByClassName("a_menueStyle");
        var container=document.getElementsByClassName("p_container");
        var advantage=document.getElementsByClassName("div_advantageConnect");
        advantage[0].dataset.bottom="true";
        container[0].dataset.show="true";
        if(scrollTop>0)
        {
            if(scrollTop>300)
            {
                bottom.style.display="block";
            }
            else{
                bottom.style.display="none";
            }
            for(var i=0;i<menueStyle.length;i++)
            {
                menueStyle[i].style.color="black";
            }
             menue.style.backgroundColor="white";
             menue.style.borderBottom="2px solid #8834a1";
        }
        else
        {
            bottom.style.display="none";
            menue.style.backgroundColor="";
            menue.style.borderBottom="";
            for(var i=0;i<menueStyle.length;i++)
            {
                menueStyle[i].style.color="white";
            }
        } 
    }
    var fa1=document.getElementsByClassName("fa-bars");
    var fa2=document.getElementsByClassName("fa-times");
    var nav=document.getElementsByClassName("div_nav");
    function showMenue()
        {
            nav[0].style.display="block";
            fa1[0].style.display="none"
            fa2[0].style.display="block";
        }
     function  back()
        {
            nav[0].style.display="none";
            fa1[0].style.display="block"
            fa2[0].style.display="none";
        }
        
     </script>
</body>
</html>